package cn.toma.service.sys;


import cn.toma.common.vo.QueryRequest;
import cn.toma.core.Service;
import cn.toma.model.sys.Dept;

import java.util.List;
import java.util.Map;

public interface DeptService extends Service<Dept>
{

	Map<String, Object> findDept(QueryRequest queryRequest, Dept dept);

	List<Dept> findDepts(QueryRequest queryRequest, Dept dept);

	void createDept(Dept dept);

	void updateDept(Dept dept);

	void deleteDepts(String[] deptIds);
}
